<?php

use think\facade\Route;
use app\api\middleware\UserVisitLog;

Route::group('home', function () {
    //获取首页数据
    Route::get('getHomeData', 'Index/getHomeData');
    //获取首页样式
    Route::get('getHomeStyle', 'Index/getHomeStyle');
    //获取微信js配置
    Route::get('getWxJsConfig', 'Index/getWxJsConfig');
})->middleware([
    UserVisitLog::class
]);